#include <stdlib.h>
#include <BoehmGC/gc.h>
#define malloc  GC_malloc
#define calloc  GC_calloc
#define realloc GC_realloc
#define free GC_free
#define _expand  GC_expand_hp
void * operator new(size_t size) { return GC_malloc(size); }
void operator delete(void *p) { GC_free(p); }
#pragma comment(lib, "user32.lib")
#if defined(_MSC_VER)
#pragma comment(lib, "gc.lib")
#endif
#if defined(__BORLANDC__)
#pragma comment(lib, "gc_bcc.lib")
#endif